import { createI18n } from 'vue-i18n'

const messages = {
    en: {
        nav: {
            logo: 'MetaPet Logo',
            theme: 'Theme',
            home: 'Home',
            marketplace: 'Marketplace',
            profile: 'Profile'
        },
        home: {
            popularPet: 'Popular Pet',
            viewAll: 'View All',
            rankingList: 'Ranking List',
            popularityChart: 'Popularity Chart',
            currentBid: 'Current Bid',
            items: 'Items',
            rank: 'Rank',
            name: 'Name',
            level: 'Level',
            breedType: 'Breed Type',
            comingSoon: 'Coming soon...'
        },
        marketplace: {
            searchPlaceholder: 'Search Address',
            search: 'Search',
            loading: 'Loading...',
            noMore: 'No More',
            noNFTList: 'No NFT List',
            buyNow: 'Buy Now',
            transactionHistory: 'Transaction History',
            completed: 'Completed',
            tokenId: 'Token ID',
            price: 'Price',
            buyer: 'Buyer',
            seller: 'Seller',
            noTransactionHistory: 'No Transaction History',
            pending: 'Pending',
            shipping: 'Shipping',
            all: 'All',
            common: 'Common',
            rare: 'Rare',
            legendary: 'Legendary',
            insufficientBalance: 'Insufficient Balance',
            processingPurchase: 'Processing purchase request...',
            purchaseSuccess: 'Purchase successful',
            purchaseFailed: 'Purchase failed',
            loadingNFTList: 'Loading NFT list...',
            getNFTListFailed: 'Failed to get NFT list',
            loadingTransactions: 'Loading transaction records...',
            getTransactionsFailed: 'Failed to get transaction records',
            updateSuccess: 'Update successful',
            updateFailed: 'Update failed',
            updateTrackingFailed: 'Failed to update tracking number'
        },
        breed: {
            title: 'Select NFT',
            male: 'Male',
            female: 'Female',
            noMore: 'No More',
            confirmBreed: 'Confirm Breeding',
            levelRequired: 'NFT level needs to reach 100',
            selectGender: 'Please select {gender} NFT',
            notMeetCondition: 'Does not meet selection conditions',
            breedSuccess: 'Breeding successful',
            getNFTListFailed: 'Failed to get NFT list',
            pleaseLogin: 'Please login first',
            loading: 'Loading...',
            selectNFT: 'Select NFT',
            confirm: 'Confirm',
            cancel: 'Cancel',
            success: 'Breeding successful',
            failed: 'Breeding failed',
            selectMale: 'Select Male',
            selectFemale: 'Select Female',
            level: 'Level',
            gender: 'Gender',
            male: 'Male',
            female: 'Female',
            select: 'Select',
            requirements: 'Breeding Requirements',
            maleLevelRequirement: 'Male Level ≥ 100',
            femaleLevelRequirement: 'Female Level ≥ 100',
            maleGenderRequirement: 'Male Gender Correct',
            femaleGenderRequirement: 'Female Gender Correct',
            startBreeding: 'Start Breeding',
            selectMaleNFT: 'Please select a male NFT',
            selectFemaleNFT: 'Please select a female NFT',
            requirementsNotMet: 'Breeding requirements not met'
        },
        gift: {
            title: 'Welcome to MetaPet!',
            description: 'Claim your free pet NFT and start your metaverse journey!',
            openBox: 'Open Gift Box',
            claim: 'Claim Your Pet',
            openBoxFailed: 'Failed to open gift box. Please try again.',
            claimFailed: 'Failed to claim pet. Please try again.',
            checkFailed: 'Failed to check gift status. Please try again.',
            claimSuccess: 'Successfully claimed your pet!'
        },
        profile: {
            reviewing: 'Under Review',
            title: 'Profile',
            nftCount: 'RWA Count',
            inviteCount: 'Invite Count',
            points: 'Points',
            myNFT: 'My RWA',
            mintRWA: 'Mint RWA',
            level: 'Level',
            exp: 'Experience',
            gender: 'Gender',
            male: 'Male',
            female: 'Female',
            unknown: 'Unknown',
            breedType: 'Breed Type',
            careMethod: 'Care Method',
            fostered: 'Fostered',
            selfCare: 'Self Care',
            birthDate: 'Birth Date',
            owner: 'Owner',
            status: 'Status',
            unlisted: 'Unlisted',
            listed: 'Listed',
            price: 'Price',
            paymentMethod: 'Payment Method',
            eth: 'ETH',
            usdc: 'USDC',
            list: 'List',
            unlist: 'Unlist',
            upgrade: 'Upgrade',
            takePhoto: 'Take Photo',
            breed: 'Breed',
            confirm: 'Confirm',
            cancel: 'Cancel',
            listSuccess: 'Listed successfully',
            unlistSuccess: 'Unlisted successfully',
            upgradeSuccess: 'Upgraded successfully',
            breedSuccess: 'Breeding successful',
            operationFailed: 'Operation failed',
            dailyRecords: 'Daily Records',
            recordImage: 'Record Image',
            noMore: 'No More',
            getRecordsFailed: 'Failed to get records',
            getTextFailed: 'Failed to get text content',
            pleaseLogin: 'Please login first',
            loading: 'Loading...',
            deliveryButton: 'Delivery',
            invite: 'Invite',
            invitePoster: 'Invite Poster',
            inviteQRCode: 'Invite QR Code',
            shareTitle: 'Share',
            shareButton: 'Share',
            save: 'Save',
            share: {
                wechat: 'WeChat',
                moments: 'Moments',
                weibo: 'Weibo',
                twitter: 'Twitter',
                copyLink: 'Copy Link',
                copySuccess: 'Copied successfully'
            },
            inProgress: 'In Progress',
            history: 'History',
            preparing: 'Preparing',
            completed: 'Completed',
            trackingNumber: 'Tracking Number',
            recipient: 'Recipient',
            phone: 'Phone',
            address: 'Address',
            confirmDelivery: 'Confirm Delivery',
            noHistory: 'No History',
            loadingNFTList: 'Loading NFT list...',
            getNFTListFailed: 'Failed to get NFT list',
            confirmDeliverySuccess: 'Delivery confirmed successfully',
            confirmDeliveryFailed: 'Failed to confirm delivery',
            saveSuccess: 'Saved successfully',
            saveFailed: 'Failed to save',
            shareSuccess: 'Shared successfully',
            shareFailed: 'Failed to share',
            generateQRCodeSuccess: 'QR code generated successfully',
            generateQRCodeFailed: 'Failed to generate QR code',
            unlistSuccess: 'Unlisted successfully',
            unlistFailed: 'Failed to unlist',
            upgradeSuccess: 'Upgraded successfully',
            upgradeFailed: 'Failed to upgrade',
            delivery: {
                title: 'Delivery',
                address: 'Address',
                name: 'Name',
                phone: 'Phone',
                confirm: 'Confirm',
                cancel: 'Cancel',
                success: 'Delivery successful',
                failed: 'Delivery failed',
                pleaseLogin: 'Please login first',
                loading: 'Loading...',
                getAddressFailed: 'Failed to get address',
                saveAddressFailed: 'Failed to save address',
                getDeliveryFailed: 'Failed to get delivery',
                saveDeliveryFailed: 'Failed to save delivery'
            }
        },
        mintRWA: {
            name: 'Name',
            namePlaceholder: 'Enter pet name',
            nameRequired: 'Please enter pet name',
            image: 'Image',
            imageTip: 'Supports JPG, PNG, WEBP, GIF formats, max size 1MB',
            imagePlaceholder: 'Upload pet image',
            imageRequired: 'Please upload pet image',
            imageTypeError: 'Please upload JPG, PNG, JPG, WEBP, GIF image',
            imageSizeError: 'Image size cannot exceed 1MB',
            uploadFailed: 'Image upload failed',
            breedType: 'Breed Type',
            breedTypeRequired: 'Please select pet breed',
            dog: 'Dog',
            cat: 'Cat',
            turtle: 'Turtle',
            fish: 'Fish',
            bird: 'Bird',
            mouse: 'Mouse',
            other: 'Other',
            gender: 'Gender',
            genderRequired: 'Please select pet gender',
            male: 'Male',
            female: 'Female',
            submit: 'Submit Mint',
            submitSuccess: 'Submitted successfully, waiting for review',
            submitFailed: 'Submission failed, please try again',
            notice: 'Minting requires review after completion, please be patient',
            description: 'Description',
            descriptionPlaceholder: 'Enter pet description (max 200 characters)',
            descriptionRequired: 'Please enter pet description',
        },
        record: {
            title: 'Record Daily',
            uploadVideo: 'Upload Video',
            videoTip: 'Only 1 video supported',
            uploadImages: 'Upload Images',
            imagesTip: 'Up to 9 images',
            description: 'Description',
            descriptionTip: 'Up to 500 characters',
            descriptionPlaceholder: 'Record your mood today...',
            publish: 'Publish',
            pleaseLogin: 'Please login first',
            publishSuccess: 'Published successfully',
            publishFailed: 'Failed to publish',
            uploadSuccess: 'Upload successful',
            uploadFailed: 'Upload failed'
        },
        components: {
            nftDetail: {
                level: 'Level',
                breedType: 'Breed Type',
                owner: 'Owner',
                list: 'List',
                unlist: 'Unlist',
                upgrade: 'Upgrade',
                takePhoto: 'Take Photo',
                breed: 'Breed',
                confirm: 'Confirm',
                cancel: 'Cancel',
                price: 'Price',
                paymentMethod: 'Payment Method',
                eth: 'ETH',
                usdc: 'USDC',
                listSuccess: 'Listed successfully',
                unlistSuccess: 'Unlisted successfully',
                upgradeSuccess: 'Upgraded successfully',
                breedSuccess: 'Breeding successful',
                operationFailed: 'Operation failed',
                status: 'Status',
                unlisted: 'Unlisted',
                listed: 'Listed',
                careMethod: 'Care Method',
                unknown: 'Unknown',
                fostered: 'Fostered',
                selfCare: 'Self Care',
                exp: 'Experience',
                gender: 'Gender',
                birthDate: 'Birth Date',
                dailyRecords: 'Daily Records',
                recordImage: 'Record Image',
                noMore: 'No More',
                female: 'Female',
                male: 'Male',
                seller: 'Seller',
                buyNow: 'Buy Now',
                buySuccess: 'Purchase successful',
                buyFailed: 'Purchase failed',
                loading: 'Loading...',
                pleaseLogin: 'Please login first',
                getRecordsFailed: 'Failed to get records',
                getTextFailed: 'Failed to get text content',
                deliveryButton: 'Delivery',
                delivery: {
                    title: 'Delivery Information',
                    receiver: 'Receiver',
                    receiverPlaceholder: 'Please enter receiver name',
                    receiverRequired: 'Please enter receiver name',
                    phone: 'Phone',
                    phonePlaceholder: 'Please enter phone number',
                    phoneRequired: 'Please enter phone number',
                    address: 'Address',
                    addressPlaceholder: 'Please enter delivery address',
                    addressRequired: 'Please enter delivery address',
                    fee: 'Delivery Fee',
                    history: 'History',
                    confirm: 'Confirm',
                    fillComplete: 'Please fill in complete information'
                },
                specialChars: {
                    plus: '+',
                    minus: '-',
                    colon: ':',
                    dot: '.',
                    slash: '/',
                    percent: '%',
                    equal: '=',
                    greater: '>',
                    less: '<'
                }
            },
            delivery: {
                title: 'Delivery Information',
                receiver: 'Receiver',
                receiverPlaceholder: 'Please enter receiver name',
                receiverRequired: 'Please enter receiver name',
                phone: 'Phone',
                phonePlaceholder: 'Please enter phone number',
                phoneRequired: 'Please enter phone number',
                address: 'Address',
                addressPlaceholder: 'Please enter delivery address',
                addressRequired: 'Please enter delivery address',
                fee: 'Delivery Fee',
                history: 'History',
                confirm: 'Confirm',
                fillComplete: 'Please fill in complete information'
            },
            breed: {
                title: 'Breeding',
                selectNFT: 'Select NFT',
                confirm: 'Confirm',
                cancel: 'Cancel',
                success: 'Breeding successful',
                failed: 'Breeding failed',
                selectMale: 'Select Male',
                selectFemale: 'Select Female',
                level: 'Level',
                gender: 'Gender',
                male: 'Male',
                female: 'Female',
                select: 'Select',
                requirements: 'Breeding Requirements',
                maleLevelRequirement: 'Male Level ≥ 100',
                femaleLevelRequirement: 'Female Level ≥ 100',
                maleGenderRequirement: 'Male Gender Correct',
                femaleGenderRequirement: 'Female Gender Correct',
                startBreeding: 'Start Breeding',
                selectMaleNFT: 'Please select a male NFT',
                selectFemaleNFT: 'Please select a female NFT',
                requirementsNotMet: 'Breeding requirements not met'
            },
            empty: {
                noData: 'No Data',
                noNFTs: 'No NFTs',
                noRecords: 'No Records',
                noHistory: 'No History'
            },
            loading: {
                loading: 'Loading...',
                processing: 'Processing...',
                uploading: 'Uploading...',
                saving: 'Saving...'
            },
            list: {
                title: 'List NFT',
                price: 'Price',
                pricePlaceholder: 'Please enter selling price',
                priceRequired: 'Please enter price',
                tokenType: 'Token Type',
                tokenTypePlaceholder: 'Please select token type',
                selectTokenType: 'Select Token Type',
                confirm: 'Confirm Listing',
                fillComplete: 'Please fill in complete information',
                levelTooLow: 'Level must be greater than or equal to 10',
                alreadyListed: 'Already listed',
                selfCareCannotList: 'Self-care NFT cannot be listed',
                success: 'Listed successfully',
                failed: 'Listing failed',
                insufficientBalance: 'Insufficient ETH balance',
                selfCareNoDelivery: 'Self-care NFT does not need delivery',
                listedNoDelivery: 'Listed NFT cannot be delivered',
                levelRequired: 'Level must be greater than or equal to 100 for breeding',
                loadTextFailed: 'Failed to load text',
                loadRecordsFailed: 'Failed to load records',
                parseHistoryFailed: 'Failed to parse history',
                saveHistoryFailed: 'Failed to save history'
            },
            common: {
                error: {
                    network: 'Network error, please try again',
                    server: 'Server error, please try again',
                    unknown: 'Unknown error, please try again',
                    timeout: 'Request timeout, please try again',
                    unauthorized: 'Please login first',
                    forbidden: 'No permission',
                    notFound: 'Resource not found',
                    validation: 'Invalid input',
                    duplicate: 'Duplicate operation',
                    invalidParams: 'Invalid parameters',
                    systemError: 'System error, please contact support'
                },
                success: {
                    operation: 'Operation successful',
                    save: 'Save successful',
                    update: 'Update successful',
                    delete: 'Delete successful',
                    upload: 'Upload successful'
                },
                confirm: {
                    title: 'Confirm',
                    cancel: 'Cancel',
                    confirm: 'Confirm',
                    delete: 'Delete',
                    save: 'Save',
                    update: 'Update'
                }
            },
            docs: {
                whitepaper: '白皮書',
                whitepaperEn: 'Whitepaper',
                guide: '使用指南',
                guideEn: 'User Guide'
            }
        }
    },
    'zh-TW': {
        nav: {
            logo: 'MetaPet 標誌',
            theme: '主題',
            home: '首頁',
            marketplace: '市場',
            profile: '個人'
        },
        home: {
            popularPet: '熱門寵物',
            viewAll: '查看全部',
            rankingList: '排行榜',
            popularityChart: '人氣圖表',
            currentBid: '當前出價',
            items: '項目',
            rank: '排名',
            name: '名稱',
            level: '等級',
            breedType: '品種',
            comingSoon: '即將推出...'
        },
        marketplace: {
            searchPlaceholder: '搜索地址',
            search: '搜索',
            loading: '加載中...',
            noMore: '沒有更多了',
            noNFTList: '暫無NFT列表',
            buyNow: '立即購買',
            transactionHistory: '交易歷史',
            completed: '已完成',
            tokenId: 'Token ID',
            price: '價格',
            buyer: '買家',
            seller: '賣家',
            noTransactionHistory: '暫無交易記錄',
            pending: '待發貨',
            shipping: '運輸中',
            all: '全部',
            common: '普通',
            rare: '稀有',
            legendary: '傳說',
            insufficientBalance: '餘額不足',
            processingPurchase: '處理購買請求...',
            purchaseSuccess: '購買成功',
            purchaseFailed: '購買失敗',
            loadingNFTList: '加載NFT列表...',
            getNFTListFailed: '獲取NFT列表失敗',
            loadingTransactions: '加載交易記錄...',
            getTransactionsFailed: '獲取交易記錄失敗',
            updateSuccess: '更新成功',
            updateFailed: '更新失敗',
            updateTrackingFailed: '更新快遞單號失敗'
        },
        breed: {
            title: '選擇NFT',
            male: '雄性',
            female: '雌性',
            noMore: '沒有更多了',
            confirmBreed: '確認繁殖',
            levelRequired: 'NFT 等級需要達到 100 級',
            selectGender: '請選擇{gender} NFT',
            notMeetCondition: '不滿足選擇條件',
            breedSuccess: '繁殖成功',
            getNFTListFailed: '獲取NFT列表失敗',
            pleaseLogin: '請先登錄',
            loading: '加載中...',
            selectNFT: '選擇NFT',
            confirm: '確認',
            cancel: '取消',
            success: '繁殖成功',
            failed: '繁殖失敗',
            selectMale: '選擇雄性',
            selectFemale: '選擇雌性',
            level: '等級',
            gender: '性別',
            male: '雄性',
            female: '雌性',
            select: '選擇',
            requirements: '繁殖條件',
            maleLevelRequirement: '雄性等級 ≥ 100',
            femaleLevelRequirement: '雌性等級 ≥ 100',
            maleGenderRequirement: '雄性性別正確',
            femaleGenderRequirement: '雌性性別正確',
            startBreeding: '開始繁殖',
            selectMaleNFT: '請選擇雄性 NFT',
            selectFemaleNFT: '請選擇雌性 NFT',
            requirementsNotMet: '不滿足繁殖條件'
        },
        gift: {
            title: '歡迎來到 MetaPet！',
            description: '領取你的免費寵物 NFT，開始你的Metaverse之旅！',
            openBox: '打開禮物盒',
            claim: '領取寵物',
            openBoxFailed: '打開禮物盒失敗，請重試',
            claimFailed: '領取寵物失敗，請重試',
            checkFailed: '檢查禮物狀態失敗，請重試',
            claimSuccess: '成功領取你的寵物！'
        },
        profile: {
            reviewing: '審核中',
            title: '個人中心',
            nftCount: 'RWA數量',
            inviteCount: '邀請數量',
            points: '積分',
            myNFT: '我的RWA',
            mintRWA: '鑄造RWA',
            level: '等級',
            exp: '經驗值',
            gender: '性別',
            male: '雄性',
            female: '雌性',
            unknown: '未知',
            breedType: '品種',
            careMethod: '養護方式',
            fostered: '代養',
            selfCare: '自養',
            birthDate: '出生日期',
            owner: '擁有者',
            status: '狀態',
            unlisted: '未上架',
            listed: '已上架',
            price: '價格',
            paymentMethod: '支付方式',
            eth: 'ETH',
            usdc: 'USDC',
            list: '上架',
            unlist: '下架',
            upgrade: '升級',
            takePhoto: '拍攝日常',
            breed: '繁殖',
            confirm: '確認',
            cancel: '取消',
            listSuccess: '上架成功',
            unlistSuccess: '下架成功',
            upgradeSuccess: '升級成功',
            breedSuccess: '繁殖成功',
            operationFailed: '操作失敗',
            dailyRecords: '日常記錄',
            recordImage: '記錄圖片',
            noMore: '沒有更多了',
            getRecordsFailed: '獲取記錄失敗',
            getTextFailed: '獲取文本內容失敗',
            pleaseLogin: '請先登錄',
            loading: '加載中...',
            deliveryButton: '快遞',
            invite: '邀請',
            invitePoster: '邀請海報',
            inviteQRCode: '邀請二維碼',
            shareTitle: '分享',
            shareButton: '分享',
            save: '保存',
            share: {
                wechat: '微信',
                moments: '朋友圈',
                weibo: '微博',
                twitter: 'Twitter',
                copyLink: '复制链接',
                copySuccess: '复制成功'
            },
            inProgress: '進行中',
            history: '歷史記錄',
            preparing: '準備中',
            completed: '已完成',
            trackingNumber: '快遞單號',
            recipient: '收件人',
            phone: '電話',
            address: '地址',
            confirmDelivery: '確認收貨',
            noHistory: '暫無記錄',
            loadingNFTList: '加載NFT列表...',
            getNFTListFailed: '獲取NFT列表失敗',
            confirmDeliverySuccess: '確認收貨成功',
            confirmDeliveryFailed: '確認收貨失敗',
            saveSuccess: '保存成功',
            saveFailed: '保存失敗',
            shareSuccess: '分享成功',
            shareFailed: '分享失敗',
            generateQRCodeSuccess: '生成二維碼成功',
            generateQRCodeFailed: '生成二維碼失敗',
            unlistSuccess: '下架成功',
            unlistFailed: '下架失敗',
            upgradeSuccess: '升級成功',
            upgradeFailed: '升級失敗',
            delivery: {
                title: '快遞信息',
                receiver: '收件人',
                receiverPlaceholder: '請輸入收件人姓名',
                receiverRequired: '請輸入收件人姓名',
                phone: '聯繫電話',
                phonePlaceholder: '請輸入聯繫電話',
                phoneRequired: '請輸入聯繫電話',
                address: '收貨地址',
                addressPlaceholder: '請輸入收貨地址',
                addressRequired: '請輸入收貨地址',
                fee: '快遞費用',
                history: '歷史記錄',
                confirm: '確認',
                fillComplete: '請填寫完整信息'
            }
        },
        mintRWA: {
            name: '名稱',
            namePlaceholder: '請輸入寵物名稱',
            nameRequired: '請輸入寵物名稱',
            image: '圖片',
            imageTip: '支持JPG、PNG、WEBP、GIF格式，大小不超過1MB',
            imagePlaceholder: '請上傳寵物圖片',
            imageRequired: '請上傳寵物圖片',
            imageTypeError: '請上傳JPG, PNG, JPG, WEBP, GIF格式的圖片',
            imageSizeError: '圖片大小不能超過1MB',
            uploadFailed: '圖片上傳失敗',
            breedType: '品種',
            breedTypeRequired: '請選擇寵物品種',
            dog: '狗',
            cat: '貓',
            turtle: '龜',
            fish: '魚',
            bird: '鳥',
            mouse: '鼠',
            other: '其他',
            gender: '性別',
            genderRequired: '請選擇寵物性別',
            male: '公',
            female: '母',
            submit: '提交鑄造',
            submitSuccess: '提交成功，等待審核',
            submitFailed: '提交失敗，請重試',
            notice: '鑄造完成後需要審核，請耐心等待',
            description: '描述',
            descriptionPlaceholder: '請輸入寵物描述（最多200字）',
            descriptionRequired: '請輸入寵物描述'
        },
        record: {
            title: '拍攝日常',
            uploadVideo: '上傳視頻',
            videoTip: '僅支持1個視頻',
            uploadImages: '上傳圖片',
            imagesTip: '最多9張',
            description: '文字描述',
            descriptionTip: '最多500字',
            descriptionPlaceholder: '記錄一下今天的心情...',
            publish: '發布',
            pleaseLogin: '請先登錄',
            publishSuccess: '發布成功',
            publishFailed: '發布失敗',
            uploadSuccess: '上傳成功',
            uploadFailed: '上傳失敗'
        },
        components: {
            nftDetail: {
                level: '等級',
                breedType: '品種',
                owner: '擁有者',
                list: '上架',
                unlist: '下架',
                upgrade: '升級',
                takePhoto: '拍攝日常',
                breed: '繁殖',
                confirm: '確認',
                cancel: '取消',
                price: '價格',
                paymentMethod: '支付方式',
                eth: 'ETH',
                usdc: 'USDC',
                listSuccess: '上架成功',
                unlistSuccess: '下架成功',
                upgradeSuccess: '升級成功',
                breedSuccess: '繁殖成功',
                operationFailed: '操作失敗',
                status: '狀態',
                unlisted: '未上架',
                listed: '已上架',
                careMethod: '養護方式',
                unknown: '未知',
                fostered: '代養',
                selfCare: '自養',
                exp: '經驗值',
                gender: '性別',
                birthDate: '出生日期',
                dailyRecords: '日常記錄',
                recordImage: '記錄圖片',
                noMore: '沒有更多了',
                female: '雌性',
                male: '雄性',
                seller: '賣家',
                buyNow: '立即購買',
                buySuccess: '購買成功',
                buyFailed: '購買失敗',
                loading: '加載中...',
                pleaseLogin: '請先登錄',
                getRecordsFailed: '獲取記錄失敗',
                getTextFailed: '獲取文本內容失敗',
                deliveryButton: '快遞',
                delivery: {
                    title: '快遞信息',
                    receiver: '收件人',
                    receiverPlaceholder: '請輸入收件人姓名',
                    receiverRequired: '請輸入收件人姓名',
                    phone: '聯繫電話',
                    phonePlaceholder: '請輸入聯繫電話',
                    phoneRequired: '請輸入聯繫電話',
                    address: '收貨地址',
                    addressPlaceholder: '請輸入收貨地址',
                    addressRequired: '請輸入收貨地址',
                    fee: '快遞費用',
                    history: '歷史記錄',
                    confirm: '確認',
                    fillComplete: '請填寫完整信息'
                },
                specialChars: {
                    plus: '＋',
                    minus: '－',
                    colon: '：',
                    dot: '。',
                    slash: '／',
                    percent: '％',
                    equal: '＝',
                    greater: '＞',
                    less: '＜'
                }
            },
            delivery: {
                title: '快遞信息',
                receiver: '收件人',
                receiverPlaceholder: '請輸入收件人姓名',
                receiverRequired: '請輸入收件人姓名',
                phone: '聯繫電話',
                phonePlaceholder: '請輸入聯繫電話',
                phoneRequired: '請輸入聯繫電話',
                address: '收貨地址',
                addressPlaceholder: '請輸入收貨地址',
                addressRequired: '請輸入收貨地址',
                fee: '快遞費用',
                history: '歷史記錄',
                confirm: '確認',
                fillComplete: '請填寫完整信息'
            },
            breed: {
                title: '繁殖',
                selectNFT: '選擇NFT',
                confirm: '確認',
                cancel: '取消',
                success: '繁殖成功',
                failed: '繁殖失敗',
                selectMale: '選擇雄性',
                selectFemale: '選擇雌性',
                level: '等級',
                gender: '性別',
                male: '雄性',
                female: '雌性',
                select: '選擇',
                requirements: '繁殖條件',
                maleLevelRequirement: '雄性等級 ≥ 100',
                femaleLevelRequirement: '雌性等級 ≥ 100',
                maleGenderRequirement: '雄性性別正確',
                femaleGenderRequirement: '雌性性別正確',
                startBreeding: '開始繁殖',
                selectMaleNFT: '請選擇雄性 NFT',
                selectFemaleNFT: '請選擇雌性 NFT',
                requirementsNotMet: '不滿足繁殖條件'
            },
            empty: {
                noData: '暫無數據',
                noNFTs: '暫無NFT',
                noRecords: '暫無記錄',
                noHistory: '暫無歷史'
            },
            loading: {
                loading: '加載中...',
                processing: '處理中...',
                uploading: '上傳中...',
                saving: '保存中...'
            },
            list: {
                title: '上架 NFT',
                price: '價格',
                pricePlaceholder: '請輸入出售價格',
                priceRequired: '請輸入價格',
                tokenType: '代幣類型',
                tokenTypePlaceholder: '請選擇代幣類型',
                selectTokenType: '選擇代幣類型',
                confirm: '確認上架',
                fillComplete: '請填寫完整信息',
                levelTooLow: '等級需要大於等於10',
                alreadyListed: '已上架',
                selfCareCannotList: '自養不能上架',
                success: '上架成功',
                failed: '上架失敗',
                insufficientBalance: 'ETH餘額不足',
                selfCareNoDelivery: '是自養，不需要快遞',
                listedNoDelivery: '已上架不能快遞',
                levelRequired: '等級大於等於100才能繁殖',
                loadTextFailed: '加載文本失敗',
                loadRecordsFailed: '獲取日常記錄失敗',
                parseHistoryFailed: '解析歷史記錄失敗',
                saveHistoryFailed: '保存歷史記錄失敗'
            },
            common: {
                error: {
                    network: '網絡錯誤，請重試',
                    server: '服務器錯誤，請重試',
                    unknown: '未知錯誤，請重試',
                    timeout: '請求超時，請重試',
                    unauthorized: '請先登錄',
                    forbidden: '無權限',
                    notFound: '資源不存在',
                    validation: '輸入無效',
                    duplicate: '重複操作',
                    invalidParams: '參數無效',
                    systemError: '系統錯誤，請聯繫客服'
                },
                success: {
                    operation: '操作成功',
                    save: '保存成功',
                    update: '更新成功',
                    delete: '刪除成功',
                    upload: '上傳成功'
                },
                confirm: {
                    title: '確認',
                    cancel: '取消',
                    confirm: '確認',
                    delete: '刪除',
                    save: '保存',
                    update: '更新'
                }
            },
            docs: {
                whitepaper: '白皮書',
                whitepaperEn: 'Whitepaper',
                guide: '使用指南',
                guideEn: 'User Guide'
            }
        }
    }
}

const i18n = createI18n({
    legacy: false,
    locale: 'en',
    fallbackLocale: 'en',
    messages
})

export default i18n 